import { reactive, toRefs } from 'vue'
export const useStore = function () {
  const tagState = reactive({
    tagList: [1, 2]
  })
  const addTag = (value: number) => {
    tagState.tagList.push(value)
  }
  return {
    addTag,
    ...toRefs(tagState)
  }
}
